<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/jquery/1.11.1/jquery.js"></script>
    <script src="/static/layer/layer.js"></script>
    <script>
        $(function(){
            //弹出一个提示层
            $('#test').on('click',function(){
                var imgqrcode = '{:url("index/wxpay/wxpayQrcode")}';
                layer.open({
                    type: 2,
                    area: ['250px', '350px'],
                    title:'微信支付',
                    shadeClose: false, //点击遮罩关闭
                    content: imgqrcode,
                    btn: ['支付完成'],
                    yes:function(index,layero){
                        alert('支付完成回调');
                    }
                });
            });
        });

    </script>
</head>
<body>

<h2 id="test">弹出二维码付款</h2>

<h1>微信支付</h1>

<a href="{:url('Wxpay/wxpayQrcodeTest')}" target="_blank">直接付款-测试</a>





<br/>

<a href="{:url('Wxpay/payOrderTest')}" target="_blank">交易查询-测试</a>

<br/>

<a href="{:url('Wxpay/refundTest')}" target="_blank">直接退款-测试</a>

<br/>

<a href="{:url('Wxpay/refundQueryTest')}" target="_blank">直接退款查询-测试</a>

<br/>

<a href="{:url('Wxpay/wxpayDownloadTest')}" target="_blank">下载订单-测试</a>



</body>
</html>